package com.opener.web.push.dao;

import com.opener.web.push.model.PushApp;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by baboy on 25/07/2017.
 */
@Repository
public interface PushAppDao {
    int addApp(PushApp app);
    int updateApp(PushApp app);
    PushApp getApp(int id);
    PushApp getAppByAlias(String alias);
    List<PushApp> getAppListByAlias(String alias);
    List<PushApp> getAppsByType(String type);
}
